/**
 * Created by Administrator on 2017/8/3.
 */
var express = require('express');
var router = express.Router();
var commentController = require('../controllers/comment');
var userController = require('../controllers/user');
var promise = require('../util/promise');

//comment进行录入
router.post('/create', userController.loginPermission, promise(commentController.save));

module.exports = router;